#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>
#include <assert.h>

int MyStrlen(char* arr)
{

	int count = 0;
	while (*arr++)
	{
		count++;
	}
	return count;
}

char* MyStrcpy(char* dest, const char* src)
{
	assert(dest && src);
	char* ret = dest;
	while (*dest++ = *src++)
	{
		;
	}
	return ret;
}

void main()
{
	char arr[] = "123456789";
	printf("%d\n", MyStrlen(arr));

}